<?php
	
	session_start();
	require_once 'LoginHandler.php';
	require_once 'LoginController.php';
	require_once 'FileUploadController.php';
	
	$title = "Login";
	$loginHandler = new LoginHandler();
	$instance = new LoginController();
	$fileInstance = new FileUploadController();
	$loginHTML = $instance->DoControll($loginHandler);
	$fileHTML = $fileInstance->Controll($loginHandler); 
	$body = $fileHTML . $loginHTML;
	
?>

<!doctype html>
<html lang="sv">
	<head>
		<meta charset="utf-8" />
    	<title><?php echo $title;?></title>
   		<link rel="stylesheet" href="css/style.css">
  	</head>
	<body>
	<div id="content">
		<?php
			echo $body;
		?>
	</div>
	</body>
</html>